package cn.yunhe.service.impl;

import cn.yunhe.dao.MemberDaoEntity;
import cn.yunhe.dao.PermissionDao;
import cn.yunhe.entity.Member;
import cn.yunhe.entity.Permission;
import cn.yunhe.service.MemberBizEntity;
import cn.yunhe.service.PermissionBiz;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service(value = "permissionBiz")
public class PermissionBizImpl implements PermissionBiz {

    @Autowired
    @Qualifier(value = "permissionDao")
    private PermissionDao permissionDao;

    @Override
    public List<Permission> searchByPflag(Map<String, Object> objectMap) {
        return permissionDao.searchByPflag(objectMap);
    }
    @Override
    public List<Permission> searchByRid(Map<String, Object> objectMap) {
        return permissionDao.searchByRid(objectMap);
    }


}
